package responsibilityChain;


public abstract class Approver {

    Approver approver;
    String name;

    public Approver(String name) {
        this.name = name;
    }

    //设置下一个处理者
    public void setApprover(Approver approver){
        this.approver = approver;
    }

    //审批请求方法
    public abstract void processRequest(PurchaseRequest purchaseRequest);

}
